package com.fanghuaiming.seata.item.service;

/****
 * @description: 商品服务接口
 * @version:1.0.0
 * @author fanghuaiming
 * @data Created in 2020/11/27 下午1:58
 *
 */
public interface ItemService {

    /**
     * @Description: 扣减商品库存
     *
     * @param:
     * @return:
     * @auther: fanghuaiming
     * @date: 2020/11/30 下午5:44
     * @version:1.0.0
     */
    void decrease(Long productId, Integer count);
}
